package com.mizhiquan.pojo;

import java.util.Date;

public class AnsewerFavorite {
    private String answerid;

    private Date favoriteTime;

    private String userid;

    public AnsewerFavorite(String answerid, Date favoriteTime, String userid) {
        this.answerid = answerid;
        this.favoriteTime = favoriteTime;
        this.userid = userid;
    }

    public AnsewerFavorite() {
        super();
    }

    public String getAnswerid() {
        return answerid;
    }

    public void setAnswerid(String answerid) {
        this.answerid = answerid == null ? null : answerid.trim();
    }

    public Date getFavoriteTime() {
        return favoriteTime;
    }

    public void setFavoriteTime(Date favoriteTime) {
        this.favoriteTime = favoriteTime;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }
}